<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "set_user_up".
 *
 * @property int $id
 * @property float $ratio_money 联娱券 钱
 * @property float $ratio_score 联娱券 券
 * @property float $award_amount 可以抽奖的金额
 */
class SetUserUp extends \yii\db\ActiveRecord
{
    use SetUserUpCommon;

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'set_user_up';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['ratio_money', 'ratio_score', 'award_amount', 'award_num'], 'number'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'ratio_money' => 'Ratio Money',
            'ratio_score' => 'Ratio Score',
            'award_amount' => 'Award Amount',
        ];
    }
}
